package com.sina.finance.api.framework.response;

import java.util.List;

import com.sina.finance.api.framework.domain.DemoShip;
import com.thoughtworks.xstream.annotations.XStreamAlias;

public class DemoGetResponse extends Response{

	// 搜索到的发货订单总数
	@XStreamAlias("total_results")
	private int totalResults;

	// 搜索到的发货订单列表,返回的Ship和ShipItems中包含的具体信息
	//@XStreamConverter(value=)
	private List<DemoShip> ships;

	public int getTotalResults() {
		return totalResults;
	}

	public void setTotalResults(int totalResults) {
		this.totalResults = totalResults;
	}

	public List<DemoShip> getShips() {
		return ships;
	}

	public void setShips(List<DemoShip> ships) {
		this.ships = ships;
	}
}
